package com.baizhi.entity;

public class User {
    int userid;
    String account;
    String name;
    String password;
    String sex;
    int fansnumber;
    String question;
    String answer;
    String introduce;

    public User(int userid,String account,String name,String password,String sex,int fansnumber,String question,String answer,String introduce){
        this.userid = userid;
        this.account = account;
        this.name = name;
        this.password = password;
        this.sex = sex;
        this.fansnumber = fansnumber;
        this.question = question;
        this.answer = answer;
        this.introduce = introduce;
    }
    public User(){}

    public int getUserid() {
        return userid;
    }

    public void setUserid(int userid) {
        this.userid = userid;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public int getFansnumber() {
        return fansnumber;
    }

    public void setFansnumber(int fansnumber) {
        this.fansnumber = fansnumber;
    }

    public String getQuestion() {
        return question;
    }

    public void setQuestion(String question) {
        this.question = question;
    }

    public String getAnswer() {
        return answer;
    }

    public void setAnswer(String answer) {
        this.answer = answer;
    }

    public String getIntroduce() {
        return introduce;
    }

    public void setIntroduce(String introduce) {
        this.introduce = introduce;
    }

    @Override
    public String toString() {
        return "User{" +
                "userid=" + userid +
                ", account='" + account + '\'' +
                ", name='" + name + '\'' +
                ", password='" + password + '\'' +
                ", sex='" + sex + '\'' +
                ", fansnumber=" + fansnumber +
                ", question='" + question + '\'' +
                ", answer='" + answer + '\'' +
                ", introduce='" + introduce + '\'' +
                '}';
    }
}
